/*
 * led.h
 *
 * Created: 2012/8/4 14:50:13
 *  Author: albert
 */ 


#ifndef LED_H_
#define LED_H_

  #include <avr/io.h>
  #include <util/delay.h>

#define  LED_DDR DDRC
#define LED_PORT PORTC
#define  LED1 0x01
#define  LED2 0x02
#define  LED3 0x04
#define  LED4 0x08
#define  LED5 0x10
#define  LED6 0x20
#define  LED7 0x40
#define  LED8 0x80
#define  LED_ALL 0xFF

void led_toggle(unsigned char leds);

#endif /* LED_H_ */